class Solution:
    def minChanges(self, s: str) -> int:
        ans = 0
        for i in range(1,len(s),2):
            ans += s[i]!=s[i - 1]
        return ans